// 规范本地缓存写法
import { resolve } from "path";
import * as remote from "@electron/remote";
import { StorageManager } from "@/mdesign-lib/mdesign-app.umd.js";
export * from "./StorageKey";

export const storage = new StorageManager();
const dirPath = resolve(remote.app.getPath("userData"), "./localStorage");
storage.store.setDirPath(dirPath);
